package com.busi.wms.config;

import com.busi.wms.model.WmsInstorage;
import com.busi.wms.model.WmsInstorageDetail;
import com.busi.wms.model.WmsLocation;
import com.busi.wms.model.WmsMaterial;
import com.busi.wms.model.WmsOutstorage;
import com.busi.wms.model.WmsOutstorageDetail;
import com.busi.wms.model.WmsStock;
import com.busi.wms.model.WmsStockDetail;
import com.busi.wms.model.WmsTray;
import com.jfinal.plugin.activerecord.ActiveRecordPlugin;

public class _MappingWmsKit {
	
	/**
	 * 系统表和Model统一映射
	 * @param arp
	 */
	public static void mapping(ActiveRecordPlugin arp) {		
		
		arp.addMapping("wms_material", WmsMaterial.class);
		arp.addMapping("wms_tray", WmsTray.class);
		arp.addMapping("wms_stock", WmsStock.class);
		arp.addMapping("wms_stock_detail", WmsStockDetail.class);
		arp.addMapping("wms_location", WmsLocation.class);
		arp.addMapping("wms_instorage", WmsInstorage.class);
		arp.addMapping("wms_outstorage", WmsOutstorage.class);
		arp.addMapping("wms_instorage_detail", WmsInstorageDetail.class);
		arp.addMapping("wms_outstorage_detail", WmsOutstorageDetail.class);
	}

}
